import request from '@/utils/request'



export function superviseList(data) { //部门月报-列表
  return request({
    url: '/project-quality/api/workSupervisionForm/page',
    method: 'post',
    data
  })
}


export function superviseAdd(data) { //部门月报-新增
  return request({
    url: '/project-quality/api/workSupervisionForm/add',
    method: 'post',
    data
  })
}


export function superviseEdit(data) { //部门月报-编辑
  return request({
    url: '/project-quality/api/workSupervisionForm/edit',
    method: 'post',
    data
  })
}



export function superviseDelete(id) { //部门月报-删除
  return request({
    url: '/project-quality/api/workSupervisionForm/del/' + id,
    method: 'get',
  })
}


export function superviseDetails(id) { //部门月报-详情
  return request({
    url: '/project-quality/api/workSupervisionForm/' + id,
    method: 'get',
  })
}
export function superviseExport(data) { //部门月报-导出
  return request({
    url: '/project-quality/api/workSupervisionForm/export',
    responseType: 'arraybuffer',
    method: 'post',
    data,
  })
}


//里层
export function superviseMainList(data) { //部门月报-列表
  return request({
    url: '/project-quality/api/workSupervisionForm/workSupervisionForm',
    method: 'post',
    data
  })
}
export function superviseMainAdd(data) { //部门月报-列表
  return request({
    url: '/project-quality/api/workSupervisionForm/addAll',
    method: 'post',
    data
  })
}





